package blbetter.netze;

import neuralNetworks.NeuralNetwork;
import neuralNetworks.Neuron;

public abstract class NetLoader {

	public abstract void saveAll(String path);

	public abstract void loadAll(String path);

	public static String getStructStr(NeuralNetwork<? extends Neuron> nn) {
		String struct = "";
		for (int l = 0; l < nn.layer.size(); l++) {
			struct += nn.layer.get(l).neurons.size() + "-";
		}
		struct += "lr" + nn.lernRate + "-af" + nn.actFunc;
		return struct;
	}

}
